package com.magicborrow.beans;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2016/5/17.
 */
public class ApplyEntity extends BaseEntity{

    public ApplyData data;

    public ApplyData getData() {
        return data;
    }

    public void setData(ApplyData data) {
        this.data = data;
    }

    public class ApplyData implements Serializable{
        private boolean first;
        private boolean last;
        private int number;
        private int numberOfElements;
        private int size;
        private int totalElements;
        private int totalPages;
        private List<ContentData> content;

        public boolean isFirst() {
            return first;
        }

        public void setFirst(boolean first) {
            this.first = first;
        }

        public boolean isLast() {
            return last;
        }

        public void setLast(boolean last) {
            this.last = last;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getNumberOfElements() {
            return numberOfElements;
        }

        public void setNumberOfElements(int numberOfElements) {
            this.numberOfElements = numberOfElements;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getTotalElements() {
            return totalElements;
        }

        public void setTotalElements(int totalElements) {
            this.totalElements = totalElements;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public List<ContentData> getContent() {
            return content;
        }

        public void setContent(List<ContentData> content) {
            this.content = content;
        }
    }

    public class  ContentData implements Serializable{
        private String appealReason;
        private int claimPrice;
        private int commented;
        private String created;
        private int depositLoan;
        private int depositPayment;
        private int id;
        private int number;
        private String reason;
        private String remarks;
        private int stage;
        private int status;
        private String updated;
        private int wareDeposit;
        private int wareLendMode;
        private int warePrice;
        private int warePriceMode;
        private CommonData target;//被借用者信息
        private CommonData user;//用户信息
        private StuffBean ware;//商品信息
        private String targetCommentId;
        private String userCommentId;

        public String getTargetCommentId() {
            return targetCommentId;
        }

        public void setTargetCommentId(String targetCommentId) {
            this.targetCommentId = targetCommentId;
        }

        public String getUserCommentId() {
            return userCommentId;
        }

        public void setUserCommentId(String userCommentId) {
            this.userCommentId = userCommentId;
        }

        public int getCommented() {
            return commented;
        }

        public void setCommented(int commented) {
            this.commented = commented;
        }


        public String getAppealReason() {
            return appealReason;
        }

        public void setAppealReason(String appealReason) {
            this.appealReason = appealReason;
        }

        public int getClaimPrice() {
            return claimPrice;
        }

        public void setClaimPrice(int claimPrice) {
            this.claimPrice = claimPrice;
        }

        public String getCreated() {
            return created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public int getDepositLoan() {
            return depositLoan;
        }

        public void setDepositLoan(int depositLoan) {
            this.depositLoan = depositLoan;
        }

        public int getDepositPayment() {
            return depositPayment;
        }

        public void setDepositPayment(int depositPayment) {
            this.depositPayment = depositPayment;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public String getReason() {
            return reason;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public int getStage() {
            return stage;
        }

        public void setStage(int stage) {
            this.stage = stage;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getUpdated() {
            return updated;
        }

        public void setUpdated(String updated) {
            this.updated = updated;
        }

        public int getWareDeposit() {
            return wareDeposit;
        }

        public void setWareDeposit(int wareDeposit) {
            this.wareDeposit = wareDeposit;
        }

        public int getWareLendMode() {
            return wareLendMode;
        }

        public void setWareLendMode(int wareLendMode) {
            this.wareLendMode = wareLendMode;
        }

        public int getWarePrice() {
            return warePrice;
        }

        public void setWarePrice(int warePrice) {
            this.warePrice = warePrice;
        }

        public int getWarePriceMode() {
            return warePriceMode;
        }

        public void setWarePriceMode(int warePriceMode) {
            this.warePriceMode = warePriceMode;
        }

        public CommonData getTarget() {
            return target;
        }

        public void setTarget(CommonData target) {
            this.target = target;
        }

        public CommonData getUser() {
            return user;
        }

        public void setUser(CommonData user) {
            this.user = user;
        }

        public StuffBean getWare() {
            return ware;
        }

        public void setWare(StuffBean ware) {
            this.ware = ware;
        }
    }


    public class CommonData implements Serializable{
        private String avatar;
        private String avatar80;
        private String birthday;

        //借入的评分，平均分，总次数
        private float borrowScale;
        private float borrowScaleAVG;
        private int borrowTimes;

        //借出的评分，平均分，总次数
        private float lendScale;
        private float lendScaleAVG;
        private int lendTimes;


        private String city;
        private int cityId;
        private String created;
        private int gender;

        private int id;
        private float lat;
        private float lon;

        private String mobile;
        private String nickname;

        private String signature;
        private int status;
        private int studentStatus;
        private String updated;


        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getAvatar80() {
            return avatar80;
        }

        public void setAvatar80(String avatar80) {
            this.avatar80 = avatar80;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public float getBorrowScale() {
            return borrowScale;
        }

        public void setBorrowScale(int borrowScale) {
            this.borrowScale = borrowScale;
        }

        public float getBorrowScaleAVG() {
            return borrowScaleAVG;
        }

        public void setBorrowScaleAVG(int borrowScaleAVG) {
            this.borrowScaleAVG = borrowScaleAVG;
        }

        public int getBorrowTimes() {
            return borrowTimes;
        }

        public void setBorrowTimes(int borrowTimes) {
            this.borrowTimes = borrowTimes;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public int getCityId() {
            return cityId;
        }

        public void setCityId(int cityId) {
            this.cityId = cityId;
        }

        public String getCreated() {
            return created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public float getLendScale() {
            return lendScale;
        }

        public void setLendScale(int lendScale) {
            this.lendScale = lendScale;
        }

        public float getLendScaleAVG() {
            return lendScaleAVG;
        }

        public void setLendScaleAVG(int lendScaleAVG) {
            this.lendScaleAVG = lendScaleAVG;
        }

        public int getLendTimes() {
            return lendTimes;
        }

        public void setLendTimes(int lendTimes) {
            this.lendTimes = lendTimes;
        }

        public float getLat() {
            return lat;
        }

        public void setLat(float lat) {
            this.lat = lat;
        }

        public float getLon() {
            return lon;
        }

        public void setLon(float lon) {
            this.lon = lon;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getSignature() {
            return signature;
        }

        public void setSignature(String signature) {
            this.signature = signature;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getStudentStatus() {
            return studentStatus;
        }

        public void setStudentStatus(int studentStatus) {
            this.studentStatus = studentStatus;
        }

        public String getUpdated() {
            return updated;
        }

        public void setUpdated(String updated) {
            this.updated = updated;
        }
    }

    public class WareData{
        private String address;
        private int box;
        private String created;
        private int deleted;
        private int deposit;
        private String description;
        private int favors;
        private int id;

        private float lat;
        private int lendMode;
        private float lon;
        private String name;
        private int price;
        private int priceMode;
        private int status;
        private String updated;
        private CommonData user;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getBox() {
            return box;
        }

        public void setBox(int box) {
            this.box = box;
        }

        public String getCreated() {
            return created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public int getDeleted() {
            return deleted;
        }

        public void setDeleted(int deleted) {
            this.deleted = deleted;
        }

        public int getDeposit() {
            return deposit;
        }

        public void setDeposit(int deposit) {
            this.deposit = deposit;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public int getFavors() {
            return favors;
        }

        public void setFavors(int favors) {
            this.favors = favors;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }



        public int getLendMode() {
            return lendMode;
        }

        public void setLendMode(int lendMode) {
            this.lendMode = lendMode;
        }



        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getPriceMode() {
            return priceMode;
        }

        public void setPriceMode(int priceMode) {
            this.priceMode = priceMode;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getUpdated() {
            return updated;
        }

        public void setUpdated(String updated) {
            this.updated = updated;
        }

        public CommonData getUser() {
            return user;
        }

        public void setUser(CommonData user) {
            this.user = user;
        }
    }
}
